<?php /* Smarty version Smarty-3.1.11, created on 2013-11-01 23:45:54
         compiled from "..\templates\nhom3\updateLop.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9662526e669c6c8a42-53762255%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '81d897f88ac23dedab2ec85262f610144acc2161' => 
    array (
      0 => '..\\templates\\nhom3\\updateLop.tpl',
      1 => 1383324348,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9662526e669c6c8a42-53762255',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_526e669d636185_63615293',
  'variables' => 
  array (
    'arrlop' => 0,
    'arr_khoahoc' => 0,
    'khoahoc' => 0,
    'arr_trungtam' => 0,
    'trungtam' => 0,
    'thongbao' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_526e669d636185_63615293')) {function content_526e669d636185_63615293($_smarty_tpl) {?> <script type="text/javascript">
    document.frm.id_khoahoc.value = "<?php echo $_smarty_tpl->tpl_vars['arrlop']->value->getma_lop();?>
";
	document.frm.ma_trungtam.value="<?php echo $_smarty_tpl->tpl_vars['arrlop']->value->getma_lop();?>
";
 </script>  
<div class="content-box-content">
    <form action="" method="POST" name="frm" id="formnoidung">
        <table>
            <tr>
                <td>Mã lớp </td>
                <td><input type="text" name="suama_lop" value="<?php echo $_smarty_tpl->tpl_vars['arrlop']->value->getma_lop();?>
" class="text-input" />&nbsp;&nbsp;<span id="idma_lop" class="baoloi" ></span></td>
            </tr>
            <tr>
                <td>Tên lớp </td>
                <td><input type="text" name="suaten_lop" value="<?php echo $_smarty_tpl->tpl_vars['arrlop']->value->getten_lop();?>
" class="text-input" />&nbsp;&nbsp;<span id="idten_lop" class="baoloi"></span></td>
            </tr>
             <tr>
                <td>Ngày tạo </td>
                <td><input type="date" name="suangaytao_lop" value="<?php echo $_smarty_tpl->tpl_vars['arrlop']->value->getngaytao_lop();?>
" class="text-input" />&nbsp;&nbsp;<span id="idngaytao_lop" class="baoloi"></span></td>
            </tr>
            <tr>
                <td>Khóa học </td>               
                	 <td>
                         <select name="id_khoahoc">
                         	<option>-- Chọn khóa học --</option>
                               <?php  $_smarty_tpl->tpl_vars['khoahoc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['khoahoc']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['arr_khoahoc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['khoahoc']->key => $_smarty_tpl->tpl_vars['khoahoc']->value){
$_smarty_tpl->tpl_vars['khoahoc']->_loop = true;
?>                         
                         	<option value="<?php echo $_smarty_tpl->tpl_vars['khoahoc']->value->getid_khoahoc();?>
"><?php echo $_smarty_tpl->tpl_vars['khoahoc']->value->getnam_khoahoc();?>
</option>
                          		<?php } ?>                           
                         </select>
                     </td>               
            </tr>
            <tr>
                <td>Đơn vị </td>            
                	<td>
                         <select name="ma_trungtam">
                         	<option>--Chọn đơn vị--</option>
                            <?php  $_smarty_tpl->tpl_vars['trungtam'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['trungtam']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['arr_trungtam']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['trungtam']->key => $_smarty_tpl->tpl_vars['trungtam']->value){
$_smarty_tpl->tpl_vars['trungtam']->_loop = true;
?>
                            <option value="<?php echo $_smarty_tpl->tpl_vars['trungtam']->value->getma_trungtam();?>
"><?php echo $_smarty_tpl->tpl_vars['trungtam']->value->getten_trungtam();?>
</option>
                            <?php } ?>
                         </select>
                     </td>
              
            </tr>
            <tr style="color:red">
                <td><input type="submit" class="button" name="sua" value="Sửa"/>
                </td>
                <td><?php echo $_smarty_tpl->tpl_vars['thongbao']->value;?>
</td>
            </tr>
        </table><?php }} ?>